package campusguide;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class CampusMapJSON implements CampusMap {

    private List<Port> allPorts;

    CampusMapJSON() {
        allPorts = new ArrayList<>();
    }

    @Override
    public List<Port> getAllMainPorts() {
        return new ArrayList<>();
    }

    @Override
    public void addPort(Port port) {
        allPorts.add(port);
    }

    @Override
    public List<Path> getAllPathsBetween(Port a, Port b) {
        return new ArrayList<>();
    }

    @Override
    public Path getShortestPath(Port a, Port b) {
        return new Path();
    }

    @Override
    public void setConnectivity(Port a, Port b) {

    }

    @Override
    public long getAvailablePortID() {
        return allPorts.size() + 1;
    }

    @Override
    public void removePort() {

    }

    @Override
    public void close() throws IOException {

    }
}
